import 'package:car_map/widget/widget_agree_button.dart';
import 'package:car_map/widget/widget_realname_titlecount.dart';
import 'package:car_map/widget/widget_square_input.dart';
import 'package:flutter/material.dart';

///查询手机上网时长
class PhoneInternetTimePage extends StatefulWidget{
  @override
  _phoneInternetTimeState createState() =>_phoneInternetTimeState();

}

class _phoneInternetTimeState extends State<PhoneInternetTimePage>{
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text('手机在网时长'),
      ),
      body: Container(
        padding: EdgeInsets.only(left: 10.0,right: 10.0),
        child: ListView(
          children: <Widget>[
            WidgetRealNameTitleCount(title: '手机在网时长',contextValue: '根据手机号查询用户手机号码在网上时长，覆盖全国移动,联通,电信.',),
            WidgetSquareInput(title: '手机号码',hintText: '必填',textInputType: TextInputType.phone,),
            WidgetAgreeButton(terms: '我同意通过互联网查询，自愿承担风险',note: '注:手机在网时长需要支付2元，谢谢',),
          ],
        ),
      ),
    );
  }

}